<!--驾驶员查询-->
<template>
<div class="public-common">
    <div class="public-title">请选择查询条件</div>
    <el-form :model="form" label-width="120px">
        <el-row>
            <el-col :span="8">
                <el-form-item label="名称">
                    <el-input size="small" v-model="form.ming"></el-input>
                </el-form-item>
            </el-col>
            <el-col :span="8">
                 <el-button type="primary" style=" margin-left: 10px;">搜索</el-button>
            </el-col>
        </el-row>
    </el-form>
    <div class="public-title" style="margin-top: 20px;">网约车驾驶员申请</div>
    <el-table :data="tabledata" size="mini" border stripe header-row-class-name="textcenter">
            <el-table-column
                label="学员姓名" fixed="left" prop="a1">
            </el-table-column>
            <el-table-column
                label="学期号" prop="a2">
            </el-table-column>
            <el-table-column
                label="学号" prop="a3">
            </el-table-column>
            <el-table-column
                label="性别" prop="a4">
            </el-table-column>
            <el-table-column
                label="身份证" prop="a5">
            </el-table-column>
            <el-table-column
                label="民族" prop="a6">
            </el-table-column>
            <el-table-column
                label="联系电话" prop="a7">
            </el-table-column>
            <el-table-column
                label="家庭住址" prop="a8">
            </el-table-column>
            <el-table-column
                label="初领驾驶证日期" prop="a9">
            </el-table-column>
            <el-table-column
                label="驾驶证档案编号" prop="a10">
            </el-table-column>
            <el-table-column
                label="准驾驶车型" prop="a11">
            </el-table-column>
            <el-table-column
                label="所属企业名称" prop="a12">
            </el-table-column>
            <el-table-column
                label="状态" prop="a13">
            </el-table-column>
            <el-table-column
                label="审核操作员姓名" prop="a14">
            </el-table-column>
            <el-table-column
                label="审核操作日期" prop="a15">
            </el-table-column>
            <el-table-column
                label="考试审核操作员姓名" prop="a16">
            </el-table-column>
            <el-table-column
                label="考试审核操作日期" prop="a17">
            </el-table-column>
            <el-table-column
                label="从业资格证件编号" prop="a18">
            </el-table-column>
            <el-table-column
                label="成绩录入人" prop="a19">
            </el-table-column>
            <el-table-column
                label="成绩录入时间" prop="a20">
            </el-table-column>
            <el-table-column
                label="合格状态" prop="a21">
            </el-table-column>
            <el-table-column
                label="考试时间" prop="a22">
            </el-table-column>
            <el-table-column
                label="考试地点" prop="a23">
            </el-table-column>
        </el-table>
        <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page="page.now"
        :page-sizes="page.sizes"
        :page-size="page.pagesize"
        layout="total, sizes, prev, pager, next, jumper"
        :total="page.total" style="margin-top:10px;">
        </el-pagination>
</div>
</template>

<script>
export default {
    data(){
        return {
              form:{
                  ming:'',
              },
              tabledata:[
                  {
                      a1: '丁建国',
                      a2: 'XQ1231',
                      a3: 'XH4345',
                      a4: '男',
                      a5:'210111123121123212',
                      a6: '汉族',
                      a7: '13923423444',
                      a8: '联合路六号',
                      a9: '2018-10-10',
                      a10: 'DA1233112',
                      a11: 'C1',
                      a12: '东风日产',
                      a13: '审核通过',
                      a14: '于海',
                      a15: '2018-10-10',
                      a16: '蔡玉昆',
                      a17: '2018-10-10',
                      a18: 'CY1231233',
                      a19: '王开新',
                      a20: '2018-10-10',
                      a21: '合格',
                      a22: '2018-10-10',
                      a23: '西安交通大队'
                  },
                  {
                      a1: '丁建国',
                      a2: 'XQ1231',
                      a3: 'XH4345',
                      a4: '男',
                      a5:'210111123121123212',
                      a6: '汉族',
                      a7: '13923423444',
                      a8: '联合路六号',
                      a9: '2018-10-10',
                      a10: 'DA1233112',
                      a11: 'C1',
                      a12: '东风日产',
                      a13: '审核通过',
                      a14: '于海',
                      a15: '2018-10-10',
                      a16: '蔡玉昆',
                      a17: '2018-10-10',
                      a18: 'CY1231233',
                      a19: '王开新',
                      a20: '2018-10-10',
                      a21: '合格',
                      a22: '2018-10-10',
                      a23: '西安交通大队'
                  },
                  {
                      a1: '丁建国',
                      a2: 'XQ1231',
                      a3: 'XH4345',
                      a4: '男',
                      a5:'210111123121123212',
                      a6: '汉族',
                      a7: '13923423444',
                      a8: '联合路六号',
                      a9: '2018-10-10',
                      a10: 'DA1233112',
                      a11: 'C1',
                      a12: '东风日产',
                      a13: '审核通过',
                      a14: '于海',
                      a15: '2018-10-10',
                      a16: '蔡玉昆',
                      a17: '2018-10-10',
                      a18: 'CY1231233',
                      a19: '王开新',
                      a20: '2018-10-10',
                      a21: '合格',
                      a22: '2018-10-10',
                      a23: '西安交通大队'
                  },
              ],
              page:{
                now:1,
                pagesize:10,
                sizes:[2,10, 20, 50, 100],
                total:0,
                key:''
              },

        }
    },
    methods:{
        search(){
            alert("search")
        },
        //分页
        handleSizeChange(pagesize){
            this.page.pagesize = pagesize;
            this.search(true,true);
        },
        handleCurrentChange(pageno){
            this.page.now = pageno;
            this.search(true,true);
        }

    }
}
</script>

<style>
  .el-form-item .el-form-item__label{ width: 90px !important;}
  .el-form-item .el-form-item__content{ margin-left: 90px !important;}
.public-common .el-form-item .el-input{ width: 100%;}
.public-title{line-height: 30px;background-color: #deecfd;padding:0 10px;margin-bottom:20px;color: #15428F}

</style>
